package day04;

import java.util.Scanner;

public class CommandBySwitch2 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("1.写语文作业 2.写数学作业 3.写英语作业 4.不写");
        int a1 = scan.nextInt();
        switch (a1){
            case 1:
                System.out.println("在写语文作业");
                break;
            case 2:
                System.out.println("在写数学作业");
                break;
            case 3:
                System.out.println("在写英语作业");
                break;
            default:
                System.out.println("不写");
        }
    }
}
